package com.cisdi.info.simple.service.organization;

import com.cisdi.info.simple.dto.base.PageDTO;
import com.cisdi.info.simple.dto.base.PageResultDTO;
import com.cisdi.info.simple.entity.organization.TestEmployee;

import java.util.List;

public interface TestEmployeeService {

    public PageResultDTO findTestEmployees(PageDTO pageDTO);

    public List<TestEmployee> findAllTestEmployees();

    public List<TestEmployee> findTestEmployeesWithIdNameByName(String testEmployeeName);

    public List<TestEmployee> findAllTestEmployeesWithIdName();

    public TestEmployee findTestEmployeesWithIdNameById(Long testEmployeeId);

    public TestEmployee findTestEmployee(Long testEmployeeId);

    //所有外键的Name都以加载
    public TestEmployee findTestEmployeeWithForeignName(Long testEmployeeId);

    public TestEmployee saveTestEmployee(TestEmployee testEmployee);

    public TestEmployee updateTestEmployee(TestEmployee testEmployee);

    public void deleteTestEmployee(Long testEmployeeId);
}
